<!DOCTYPE html>
<html lang="en">
  <head>
      <meta charset="UTF-8">
      <title>a.html</title>
  </head>

  <body>
    <h1>这是a.html</h1>
<!--相对路径
  1.href="d1/d2/b.html 等价于 http://localhost:8080/webpath/ + d1/d2/b.html
-->
    <a href="d1/d2/b.html">跳转到/d1/d2/b.html</a>
    <br/><br/>
<!--转发
    1.在实际开发中，往往不是直接访问一个资源的而是在服务端进行转发和重定向来访问资源
    2.href="servlet03" 等价于 http://localhost:8080/webpath/ + servlet03
-->
    <a href="servlet03">转发到/d1/d2/b.html</a>
  </body>
</html>